package com.ruoyi.project.men.service.impl;

import com.ruoyi.project.men.dao.MenProductAdvantageDao;
import com.ruoyi.project.men.domain.MenProductAdvantageDO;
import com.ruoyi.project.men.service.MenProductAdvantageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class MenProductAdvantageServiceImpl implements MenProductAdvantageService {
	@Autowired
	private MenProductAdvantageDao menProductAdvantageDao;
	
	@Override
	public MenProductAdvantageDO get(String id){
		return menProductAdvantageDao.get(id);
	}
	
	@Override
	public List<MenProductAdvantageDO> list(Map<String, Object> map){
		return menProductAdvantageDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return menProductAdvantageDao.count(map);
	}
	
	@Override
	public int save(MenProductAdvantageDO menProductAdvantage){
		return menProductAdvantageDao.save(menProductAdvantage);
	}
	
	@Override
	public int update(MenProductAdvantageDO menProductAdvantage){
		return menProductAdvantageDao.update(menProductAdvantage);
	}
	
	@Override
	public int remove(String id){
		return menProductAdvantageDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return menProductAdvantageDao.batchRemove(ids);
	}

    @Override
    public List<MenProductAdvantageDO> likeList(Map<String, Object> map){
        return menProductAdvantageDao.likeList(map);
    }
    @Override
    public int likeListCount(Map<String, Object> map){
        return menProductAdvantageDao.likeListCount(map);
    }
	
}
